<?php
// +----------------------------------------------------------------------
// | Author: lzy 林子彦
// +----------------------------------------------------------------------
namespace Admin\Model;

/**
 * 插件模型
 * 
 * @author yangweijie <yangweijiester@gmail.com>
 */
use Common\Model\RpcUseModel;

class OnlineCourseModel extends RpcUseModel {
	
	/**
	 * 获取课程列表
	 * @map 条件
	 * @p 分页
	 */
	public function getList($map, $p) {
		$clientapi = $this->client->useService ( "OnlineCourse" );
		$list = $clientapi->getList ( $map, $p );
		return $list;
	}
}
